package com.fast.pojo.req;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

/**
 * @author ruan cai yuan
 * @version 1.0
 * @fileName com.fast.pojo.req.UploadFileRequest
 * @description: TODO
 * @since 2024/6/22 1:37
 */
@Data
public class UploadFileRequest {
    @NotNull
    private MultipartFile file;
    /**
     * 指定上传子目录 resources/[module]/20240622.jpg
     */
    private String module;
}
